From e997adf2cef6b5fca2d67a8d0651b71f02a05847 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 2 Sep 2009 16:15:05 +0100 Subject: [PATCH] libxenguest: Remove unused static inline function is_loadable_phdr() Signed-off-by: Christoph Egger --- tools/libxc/xc_hvm_build.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/libxc/xc_hvm_build.c b/tools/libxc/xc_hvm_build.c index e20f5ac862..c460d97e17 100644 --- a/tools/libxc/xc_hvm_build.c +++ b/tools/libxc/xc_hvm_build.c @@ -342,12 +342,6 @@ static int xc_hvm_build_internal(int xc_handle, return setup_guest(xc_handle, domid, memsize, target, image, image_size); } -static inline int is_loadable_phdr(Elf32_Phdr *phdr) -{ - return ((phdr->p_type == PT_LOAD) && - ((phdr->p_flags & (PF_W|PF_X)) != 0)); -} - /* xc_hvm_build: * Create a domain for a virtualized Linux, using files/filenames. */ -- 2.30.2